package com.kangyi.admin.mapper;

import com.kangyi.admin.annotation.AutoFill;
import com.kangyi.entity.HealthInfo;
import com.kangyi.enumeration.OperationType;
import com.kangyi.vo.HealthInfoVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface HealthInfoMapper {

    @Select("select * from health_info where guest_id = #{guestId};")
    HealthInfoVO getById(Integer guestId);

    @Delete("delete from health_info where guest_id = #{guestId};")
    void deleteByGuestId(Integer guestId);
}
